package com.linkhub.oms.admin.modules.track.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author Redball
 * @version 1.0.0
 * @Description OrderTrackQueryParam
 * @createTime 2024/10/20 下午2:41
 */
@Data
@ApiModel(value = "OrderTrackQueryParam", description = "OrderTrackQueryParam")
public class OrderTrackQueryParam implements Serializable {
    @ApiModelProperty(value = "页数, 从1开始")
    @NotNull(message = "{validation.page.notNull}")
    @Range(min = 1, message = "{validation.page.min}")
    private Integer page;

    @ApiModelProperty(value = "每页大小")
    @NotNull(message = "{validation.pageSize.notNull}")
    private Integer size;

    @ApiModelProperty(value = "订单追踪页签类型：101-未查到;102-待取件;103-运输中;104-到达待取;105-派件中;106-投递失败;107-已签收;108-可能异常;109-运输过久;")
    @NotNull(message = "{validation.order.tabType.notNull}")
    @Range(min = 1, message = "{validation.order.tabType.range}")
    private Integer tabType;

    @ApiModelProperty(value = "订单号关键词")
    private String orderNumber;

    @ApiModelProperty(value = "运单号关键词")
    private String wayBillNumber;

    @ApiModelProperty(value = "系统商店id")
    private List<String> sysShopIds;
}
